package com.headfirst.strategy.version1;

/**
 * @author sunhongguang
 * @create 2022-01-09-21:24
 */
public class RubberDuck extends Duck {
    @Override
    public void display() {
        System.out.println("橡皮鸭");
    }

    @Override
    public void quack(){
        System.out.println("吱吱吱...");
    }

    @Override
    public void fly(){

    }
}
